Skip to content

nxos: add dot to prompt character class to support FQDN-style hostnames#287

Merged
gescheit merged 1 commit intoannetutil:mainfrom
vaneuk:nxos_prompt_fix
Apr 9, 2026
Merged

nxos: add dot to prompt character class to support FQDN-style hostnames#287
gescheit merged 1 commit intoannetutil:mainfrom
vaneuk:nxos_prompt_fix

Conversation

@vaneuk
Copy link
Copy Markdown
Contributor

@vaneuk vaneuk commented Apr 8, 2026

Hostnames containing dots (e.g. rdc1_sw_rack42.spine-1-0) caused the prompt regex to match only the last dot-separated segment, leaking the rest of the hostname into command output.

Hostnames containing dots (e.g. rdc1_sw_rack42.spine-1-0) caused the
prompt regex to match only the last dot-separated segment, leaking the
rest of the hostname into command output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gescheit gescheit merged commit 30d66bf into annetutil:main Apr 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants